3.2.43 \(\int x^2 (a+b x^2)^2 (c+d x^2) \, dx\)

Optimal. Leaf size=55 \[ \frac {1}{3} a^2 c x^3+\frac {1}{7} b x^7 (2 a d+b c)+\frac {1}{5} a x^5 (a d+2 b c)+\frac {1}{9} b^2 d x^9 \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {448} \begin {gather*} \frac {1}{3} a^2 c x^3+\frac {1}{7} b x^7 (2 a d+b c)+\frac {1}{5} a x^5 (a d+2 b c)+\frac {1}{9} b^2 d x^9 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*(a + b*x^2)^2*(c + d*x^2),x]

[Out]

(a^2*c*x^3)/3 + (a*(2*b*c + a*d)*x^5)/5 + (b*(b*c + 2*a*d)*x^7)/7 + (b^2*d*x^9)/9

Rule 448

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandI
ntegrand[(e*x)^m*(a + b*x^n)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] &
& IGtQ[p, 0] && IGtQ[q, 0]

Rubi steps

\begin {align*} \int x^2 \left (a+b x^2\right )^2 \left (c+d x^2\right ) \, dx &=\int \left (a^2 c x^2+a (2 b c+a d) x^4+b (b c+2 a d) x^6+b^2 d x^8\right ) \, dx\\ &=\frac {1}{3} a^2 c x^3+\frac {1}{5} a (2 b c+a d) x^5+\frac {1}{7} b (b c+2 a d) x^7+\frac {1}{9} b^2 d x^9\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 55, normalized size = 1.00 \begin {gather*} \frac {1}{3} a^2 c x^3+\frac {1}{7} b x^7 (2 a d+b c)+\frac {1}{5} a x^5 (a d+2 b c)+\frac {1}{9} b^2 d x^9 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2*(a + b*x^2)^2*(c + d*x^2),x]

[Out]

(a^2*c*x^3)/3 + (a*(2*b*c + a*d)*x^5)/5 + (b*(b*c + 2*a*d)*x^7)/7 + (b^2*d*x^9)/9

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^2 \left (a+b x^2\right )^2 \left (c+d x^2\right ) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x^2*(a + b*x^2)^2*(c + d*x^2),x]

[Out]

IntegrateAlgebraic[x^2*(a + b*x^2)^2*(c + d*x^2), x]

________________________________________________________________________________________

fricas [A]  time = 0.54, size = 53, normalized size = 0.96 \begin {gather*} \frac {1}{9} x^{9} d b^{2} + \frac {1}{7} x^{7} c b^{2} + \frac {2}{7} x^{7} d b a + \frac {2}{5} x^{5} c b a + \frac {1}{5} x^{5} d a^{2} + \frac {1}{3} x^{3} c a^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^2*(d*x^2+c),x, algorithm="fricas")

[Out]

1/9*x^9*d*b^2 + 1/7*x^7*c*b^2 + 2/7*x^7*d*b*a + 2/5*x^5*c*b*a + 1/5*x^5*d*a^2 + 1/3*x^3*c*a^2

________________________________________________________________________________________

giac [A]  time = 0.43, size = 53, normalized size = 0.96 \begin {gather*} \frac {1}{9} \, b^{2} d x^{9} + \frac {1}{7} \, b^{2} c x^{7} + \frac {2}{7} \, a b d x^{7} + \frac {2}{5} \, a b c x^{5} + \frac {1}{5} \, a^{2} d x^{5} + \frac {1}{3} \, a^{2} c x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^2*(d*x^2+c),x, algorithm="giac")

[Out]

1/9*b^2*d*x^9 + 1/7*b^2*c*x^7 + 2/7*a*b*d*x^7 + 2/5*a*b*c*x^5 + 1/5*a^2*d*x^5 + 1/3*a^2*c*x^3

________________________________________________________________________________________

maple [A]  time = 0.00, size = 52, normalized size = 0.95 \begin {gather*} \frac {b^{2} d \,x^{9}}{9}+\frac {\left (2 a b d +b^{2} c \right ) x^{7}}{7}+\frac {a^{2} c \,x^{3}}{3}+\frac {\left (a^{2} d +2 a b c \right ) x^{5}}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(b*x^2+a)^2*(d*x^2+c),x)

[Out]

1/9*b^2*d*x^9+1/7*(2*a*b*d+b^2*c)*x^7+1/5*(a^2*d+2*a*b*c)*x^5+1/3*a^2*c*x^3

________________________________________________________________________________________

maxima [A]  time = 0.96, size = 51, normalized size = 0.93 \begin {gather*} \frac {1}{9} \, b^{2} d x^{9} + \frac {1}{7} \, {\left (b^{2} c + 2 \, a b d\right )} x^{7} + \frac {1}{3} \, a^{2} c x^{3} + \frac {1}{5} \, {\left (2 \, a b c + a^{2} d\right )} x^{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^2*(d*x^2+c),x, algorithm="maxima")

[Out]

1/9*b^2*d*x^9 + 1/7*(b^2*c + 2*a*b*d)*x^7 + 1/3*a^2*c*x^3 + 1/5*(2*a*b*c + a^2*d)*x^5

________________________________________________________________________________________

mupad [B]  time = 0.09, size = 51, normalized size = 0.93 \begin {gather*} x^5\,\left (\frac {d\,a^2}{5}+\frac {2\,b\,c\,a}{5}\right )+x^7\,\left (\frac {c\,b^2}{7}+\frac {2\,a\,d\,b}{7}\right )+\frac {a^2\,c\,x^3}{3}+\frac {b^2\,d\,x^9}{9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*x^2)^2*(c + d*x^2),x)

[Out]

x^5*((a^2*d)/5 + (2*a*b*c)/5) + x^7*((b^2*c)/7 + (2*a*b*d)/7) + (a^2*c*x^3)/3 + (b^2*d*x^9)/9

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 56, normalized size = 1.02 \begin {gather*} \frac {a^{2} c x^{3}}{3} + \frac {b^{2} d x^{9}}{9} + x^{7} \left (\frac {2 a b d}{7} + \frac {b^{2} c}{7}\right ) + x^{5} \left (\frac {a^{2} d}{5} + \frac {2 a b c}{5}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(b*x**2+a)**2*(d*x**2+c),x)

[Out]

a**2*c*x**3/3 + b**2*d*x**9/9 + x**7*(2*a*b*d/7 + b**2*c/7) + x**5*(a**2*d/5 + 2*a*b*c/5)

________________________________________________________________________________________